package com.tim.app.db.model;

import android.provider.BaseColumns;

import java.io.Serializable;

public class NoticeModel implements BaseColumns, Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    public static final String TABLE_NAME = "notice_table";

    public static final int ID = 0;

    public static final int CONTENT = 1;

    public static final int IS_READ = 2;

    public static final int TIME = 3;

    public static final int TYPE = 4;


    public static final String COLUMN_NAME[] = {_ID,
            "content",
            "isRead", "time", "type"};

    public static final String CREATE_SQL = "CREATE TABLE " + TABLE_NAME + "("
            + COLUMN_NAME[ID] + " INTEGER PRIMARY KEY, "
            + COLUMN_NAME[CONTENT] + " TEXT, "
            + COLUMN_NAME[IS_READ] + " INTEGER," + COLUMN_NAME[TIME] + " TEXT," + COLUMN_NAME[TYPE] + " TEXT);";

}
